package com.aqielife.demo.elasticsearch.service;

import com.aqielife.demo.elasticsearch.entity.StudentEs;
import org.springframework.data.domain.PageImpl;

import java.util.List;

/**
 * @author aqie
 * @date 2022/02/07 14:43
 * @desc
 */
public interface IStudentSearchService {

  void deleteAll();

  void saveAll(List<StudentEs> list);

  StudentEs createOrUpdate(StudentEs studentEs);

  PageImpl<StudentEs> searchStudent(String name, Integer current, Integer size);
}
